<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of c_sitemap_controller
 *
 * @author tonatos
 */
class c_sitemap_controller extends c_base_controller {

    public $sitemap;

    public function index(){
        global $modx;

        //Получаем все документы
        $this->docs = $modx->db->get_records("site_content","deleted=0 and published=1","createdon");

        //Форум
        $this->post = $modx->db->get_records("forum_topic","deleted=0","createdon");


        $this->show("index");
    }

}
?>
